import 'package:get/get.dart';

class LoginController extends GetxController {
  var isLogin = true.obs;
  var current = 0;

  void changeItem(int tag) {
    print(tag);
    if (current == tag) {
      return;
    }
    current = tag;
    if (tag == 0) {
      isLogin.value = true;
    } else {
      isLogin.value = false;
    }
  }
}
